static inline int
HYPERVISOR_xen_version(
- int cmd)
+ int cmd, void *arg)
{
int ret;
- unsigned long ignore;
+ unsigned long ignore, ign2;
__asm__ __volatile__ (
TRAP_INSTR
- : "=a" (ret), "=b" (ignore)
- : "0" (__HYPERVISOR_xen_version), "1" (cmd)
+ : "=a" (ret), "=b" (ignore), "=c" (ign2)
+ : "0" (__HYPERVISOR_xen_version), "1" (cmd), "2" (arg)
: "memory" );
return ret;
*/
void force_evtchn_callback(void)
{
- (void)HYPERVISOR_xen_version(0);
+ (void)HYPERVISOR_xen_version(0, NULL);
}
EXPORT_SYMBOL(force_evtchn_callback);
static inline int
HYPERVISOR_xen_version(
- int cmd)
+ int cmd, void *arg)
{
- return _hypercall1(int, xen_version, cmd);
+ return _hypercall2(int, xen_version, cmd, arg);
}
static inline int
static inline int
HYPERVISOR_xen_version(
- int cmd)
+ int cmd, void *arg)
{
- return _hypercall1(int, xen_version, cmd);
+ return _hypercall2(int, xen_version, cmd, arg);
}
static inline int
.byte 4 /* do_update_va_mapping */
.byte 2 /* do_set_timer_op */ /* 15 */
.byte 1 /* do_event_channel_op */
- .byte 1 /* do_xen_version */
+ .byte 2 /* do_xen_version */
.byte 3 /* do_console_io */
.byte 1 /* do_physdev_op */
.byte 3 /* do_grant_table_op */ /* 20 */
.byte 3 /* do_update_va_mapping */
.byte 1 /* do_set_timer_op */ /* 15 */
.byte 1 /* do_event_channel_op */
- .byte 1 /* do_xen_version */
+ .byte 2 /* do_xen_version */
.byte 3 /* do_console_io */
.byte 1 /* do_physdev_op */
.byte 3 /* do_grant_table_op */ /* 20 */